package ro.imc.andrei.ums;

import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.List;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import org.apache.derby.iapi.jdbc.JDBCBoot;

import ro.imc.andrei.visual.AddCourseFrame;
import ro.imc.andrei.visual.AddProfessorFrame;
import ro.imc.andrei.visual.AddStudentFrame;
import ro.imc.andrei.visual.MainFrame;

public class UMS {

	public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException{
		UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");

//		Check Database Existence
//		UMSDB db = UMSDB.getInstance();
//		db.checkDB();
		
		new MainFrame().setVisible(true);
//		new AddStudentFrame().setVisible(true);
//		new AddProfessorFrame().setVisible(true);
//		new AddCourseFrame().setVisible(true);
	}

}
